package com.happy.admin.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * \* User: wei.zhang
 * \* Date: 2019/12/2 18:22
 * \* Description:
 *
 * @author wei.zhang
 * \
 */
@Data
@ConfigurationProperties(prefix = "happy.datasource")
public class DataSourceProperties {
    private String url = "jdbc:mysql://182.254.172.233:3306/pb-book?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai";
    private String password = "!ewfdn34df#";
    private String userName = "root";
    private String driver = "com.mysql.cj.jdbc.Driver";
}
